package com.lsx.logisticscore.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lsx.logisticscore.entity.Car;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface CarMapper extends BaseMapper<Car> {
    public Integer insertSelective(Car car);

    public int updateByPrimaryKeySelective(Car car);

    public Page<Car> selectCarByCondition(Page<Car> page, String carType, String managerId);

    public List<String> selectCarType();

    public List<Map<String, Object>> selectDrivers();
}
